package com.qn.example.service;


import com.qn.example.pojo.Employee;
import com.qn.example.pojo.Page;
import com.qn.example.pojo.R;

/**
 * @author 21276
 * @version 1.0
 * @date 2023/4/26 19:01
 */
public interface loginService {
    //用户登录
    R<Employee> login(Employee employee);

    //新增员工信息
    void save(Employee employee);

    //分页
    Page<Employee> findByPage(Integer page, Integer pageSize, String name);

    //修改员工信息
    void updateEmp(Employee employee);

    //根据id查询员工的信息
    Employee findById(Long id);
}
